package com.example.demo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.custom.BaseService;
import com.example.demo.entity.Outsource;
import com.example.demo.entity.Outsource2;
import com.example.demo.repository.Outsource2Repository;
@Service
public class Outsource2Service extends BaseService<Outsource2, Integer>{
	@Autowired
	private Outsource2Repository out2DAO;



	public List<Outsource2> findByOutsource(Outsource out) {
		return out2DAO.findByOutsource(out);
	}



	public List<Outsource2> findByOutsourceId(Integer id) {
		// TODO Auto-generated method stub
		return out2DAO.findByOutsourceId(id);
	}




}
